Release 10.1A: OpenEdge Development:
Programming Interfaces
import-xml-fill-dset procedure
Import an XML file containing audit polices into a specified ProDataSet. If the XML file contains policies that already exist in the ProDataSet and the
Parameters:ploverrideparameter is set toNO, this procedure does not fill the ProDataSet and returns a comma-separated list of existing policies. The caller can then ask for confirmation and call the copy-changes-to-dset procedure. Ifploverrideis set toYES, this procedure automatically overrides all existing policies and does not return any duplicates in thepcDupListparameter. Any errors set theperrorMsgparameter. It is the caller's responsibility to reject any changes if errors occur.INPUT pcxmlFileName AS CHARACTERFilename of the XML file to import.
INPUT ploverride AS LOGICAL
YESspecifies to override existing policies.INPUT-OUTPUT DATASET FOR dsAudPolicyTarget ProDataSet to import the policies.
OUTPUT pcDupList AS CHARACTERComma-separated list of policies that already exist in the specified database and also exist in the XML file.
OUTPUT perrorMsg AS CHARACTERError messages.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |